<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <title>分期购订单审批</title>
    <link href="${base}/resource/admin/css/common.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="${base}/resource/admin/js/jquery.js"></script>
    <script type="text/javascript" src="/resource/admin/js/jquery.tools.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/jquery.validate.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/editor/kindeditor.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/common.js"></script>
    <script type="text/javascript" src="${base}/resource/admin/js/input.js"></script>
    <script type="text/javascript">
        $().ready(function() {
            var $inputForm = $("#inputForm");
             [@flash_message /]
             var $browserButton = $("#browserButton");
             $browserButton.browser();
        });
    </script>
</head>
<body>
<div class="path">
    <a href="${base}/common/index">首页</a> &raquo;分期购审批
</div>
<form id="inputForm" action="approve" method="post" class="required-form" onsubmit="return validateForm(this)">
    <input type="hidden" name="id" value="${entity.id}"/>
    <table class="input tabContent">
        <tr>
            <th>
                <span class="requiredField">*</span>姓名
            </th>
            <td>
                  ${entity.name}
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>身份证
            </th>
            <td>
               ${entity.cardNo}
            </td>
        </tr>

        <tr>
            <th>
                <span class="requiredField">*</span>性别:
            </th>
            <td>
                [#if entity.sex=0]男[/#if]
                 [#if entity.sex=1]女[/#if]
            </td>
        </tr>
        <tr>
            <th>
                邮箱
            </th>
            <td>
                 ${entity.email}
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>手机号码
            </th>
            <td>
                 ${entity.phone}
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>贷款用途:
            </th>
            <td>
            [#if entity.loanUse=0]教育[/#if]
            [#if entity.loanUse=1]旅游[/#if]
            [#if entity.loanUse=2]消费[/#if]
            [#if entity.loanUse=3]其他[/#if]
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>贷款说明
            </th>
            <td>
                 ${entity.loanUseInfo}
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>贷款金额（元）
            </th>
            <td>
                <b style="color: #CC0000;">${entity.loanAmount}</b>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>贷款商品/服务
            </th>
            <td>
                <b style="color: #CC0000;">${entity.loanProductName}</b>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>还款周期:
            </th>
            <td>
                ${entity.loadMonth}月
            </td>
        </tr>
        <tr>
            <th>
                &nbsp;
            </th>
            <td>
                &nbsp; &nbsp;
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>审批结果:
            </th>
            <td>
                <select name="approveStatus" class="text required">
                    <option value="1">成功</option>
                    <option value="2">拒绝</option>
                    <option value="3">打回</option>
                </select>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>结果说明
            </th>
            <td>
                <input type="text" name="approveMsg" class="text required" maxlength="100" value=""/>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>SN(银行)
            </th>
            <td>
                <input type="text" name="bankSn" class="text required" maxlength="100" value=""/>
            </td>
        </tr>
        <tr>
            <th>
                <span class="requiredField">*</span>结果截图
            </th>
            <td>
                <span class="fieldSet">
						<input type="text" id="img" name="approveImage" class="text required" value="" maxlength="200">
						<input type="button" id="browserButton" class="button" value="选择文件">
                </span>
            </td>
        </tr>
        <tr>
            <th>
                &nbsp;
            </th>
            <td>
                <input type="submit" class="button" value="提交" />
                <input type="button" class="button" value="取消" onclick="location.href='list.do'" />
            </td>
        </tr>
    </table>
</form>
<script type="text/javascript">
        $(function(){
            //关闭iframe
            $('#closeBtn').click(function(){
                var val = $('#name').val();
                parent.layer.close(index);
            });
        });
</script>
</body>
</html>